#include<stdio.h>
/*手动实现一个strlen()函数*/

int main()
{
	char str[] = "Hello World!";
	int i = 0;
	for(; str[i]; i++){  //str[i] <=> str[i]!=0 字符串遇到0就结束
		
	}
	printf("strlen()=%d\n", i);

	return 0;
}
